October 12, 2015

Setting Expectations

Expect to:

  1. Get a sense of what is possible with R.
  2. Set up important frameworks around how to do data science (forewarning - I'm biased!)
  3. Be warned of potential minefields

Do Not Expect to:

  1. Completely understand all the code presented on your first try.
  2. Be exposed to all of the features of the mentioned packages.

The Data Scientist's Workflow

R Solutions

Preparation: Getting Data into R


Warning:
Each package has slightly different undesirable "features" so always check your data frame to make sure you're using the best option for your data set!

Preparation: Data Manipulation

tbl_df()

filter()

select()

summarise()

mutate()

Using R for Reporting

Motivation

  1. Easy mechanism for literate programming
  2. Sharing and updating analyses trivial
    • With programmers/analysts/your future self
    • With information consumers (e.g., your boss)

Drawing Drawing

RMarkdown